package com.bo.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.bean.Proveedor;
import com.bo.RegistroBo;
import com.dao.RegistroDao;

@Service("ProveedorBo")
public class ProveedorBo implements RegistroBo{
	Logger log	= Logger.getLogger(ProveedorBo.class);
	
	@Autowired
	@Qualifier("ProveedorDaoImpl")
	private RegistroDao proveedorDao;
	
	public boolean agregaProveedor(Proveedor proveedor){
		log.debug("begin");
		proveedorDao.agregaRegistro(proveedor);
		log.debug("finally");
		return false;
	}
	
	public List<Proveedor> listaDeProveedores(){
		return null;
	}

	@Override
	public boolean agregaRegistro(Object registro) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean eliminaRegistro(Object registro) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void modificaRegistro(Object registro) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public <T> List<T> listaDeRegistros() {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public Object buscaRegistroPorParametro(String parametro,
			Object registro) {
		// TODO Auto-generated method stub
		return null;
	}
	

}
